import request from '@/utils/request'

// 获取院系列表
export function getDepartmentList(params) {
  return request({
    url: '/department/list',
    method: 'get',
    params
  })
}

// 根据ID获取院系详情
export function getDepartmentById(id) {
  return request({
    url: `/department/${id}`,
    method: 'get'
  })
} 